# permissions for end users to view zvirtmachinetemplates.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  labels:
    app.kubernetes.io/name: clusterrole
    app.kubernetes.io/instance: zvirtmachinetemplate-viewer-role
    app.kubernetes.io/component: rbac
    app.kubernetes.io/created-by: src
    app.kubernetes.io/part-of: src
    app.kubernetes.io/managed-by: kustomize
  name: zvirtmachinetemplate-viewer-role
rules:
- apiGroups:
  - infrastructure.cluster.x-k8s.io
  resources:
  - zvirtmachinetemplates
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - infrastructure.cluster.x-k8s.io
  resources:
  - zvirtmachinetemplates/status
  verbs:
  - get
